package com.zxp.springboot;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

/**
 * @author shollin
 */
@SpringBootApplication
@Slf4j
public class HelloBeetlApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(HelloBeetlApplication.class, args);
        ConfigurableEnvironment environment = run.getEnvironment();
        ConfigurableListableBeanFactory beanFactory = run.getBeanFactory();

        log.info("beetl项目启动完成...");
    }

}
